#include "ota_http_curl.h"
#include <stdio.h>

int main(int argc, char *argv[])
{ 
    response_body_t *response_body= ota_http_curl_get("http://192.168.11.1:8000/fileinfo.json");

    printf("response_body->body: %s\n", response_body->str);

    ota_http_curl_download("http://192.168.11.1:8000/download/gateway", "/home/atguigu/gateway1104.update");

    return 0;
}